<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="copyright" content="闻康集团刘代明监制" />
<meta name="robots" content="all" />
{$css_file}{$js_file}{$js_calendar}
<script type="text/javascript">
//验证时间段是否正确
function validate(form) {
    if ((form.date1.value != "" && form.date2.value != "") && (form.date1.value > form.date2.value )) {
         alert("请填写正确的时间段！");
         form.date1.focus();
         return false;
     }
    return true;
}
</script>
</head>
<body>
<div class="main">
	<div class="crumbs">
	当前位置：<span id="current_pos">面板->疾病饮食管理->食谱推送日志</span>
	</div>
    <div class="m_content" id="right_main">
        <div class="content_menu blue line-x">
            <a class="on" href="__GROUP__/Disassistant/selectDisAppname" ><em>查询今日未推送的app名称</em></a>
        </div>
        <div>
            <form method="post" action="__GROUP__/Disassistant/disRecipesPush" name="searchform" onsubmit="return validate(this)">
                <div class="explain_col">
        			时间：
        			<input type="text" class="input_text" value="{$date1}" name="date1" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
    				—— 
    				<input type="text" class="input_text" value="{$date2}" name="date2" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
                    APP名称：
                    <input type="text" class="input_text" value="{$appname}" name="appname" />
    					
                    <input type="submit" value="搜索" class="button" name="search" />
                </div>
            </form>
            <div class="table_list">
                <table width="100%" cellspacing="0">
                	<thead>
                		<tr>
                			<th align="left">序号</th>
                			<th align="left">食谱名称</th>
                			<th align="left">APP名称</th>
                			<th align="left">类别</th>
                			<th align="left">营养</th>
                			<th align="left">推送时间</th>
                			<th align="left">推送者</th>
                		</tr>
                	</thead>
                    <tbody id="data">
                    <volist name="list" id="vo" empty="$empty">
                    <tr>
                    	<td align="left">{$vo.id}</td>
                    	<td align="left">{$vo.recipename}</td>
                    	<td align="left">{$vo.appname}</td>
                    	<td align="left">{$type[$vo['type']]}</td>
                    	<td align="left">{$nutrition[$vo['nutrition']]}</td>
                    	<td align="left">{$vo.create_time|date="Y-m-d H:i:s",###}</td>
                    	<td align="left">{$vo.adduser}</td>
                    </tr>
                    </volist>
					</tbody>
                </table>
			    <div class="page_number">{$page}</div>	
    		</div>
		</div>
    </div>
</div>
</body>
</html>